#include <bits/stdc++.h>

int main() {
	int n;
	double arr[1001] = {0}, avg = 0, var = 0;
	scanf("%d", &n);
	for (int i = 0; i < n; i++) {
		scanf("%lf", arr + i);
	}

	for (int i = 0; i < n; i++) {
		avg += arr[i];
	}
	avg /= n;

	for (int i = 0; i < n; i++) {
		var += pow((arr[i] - avg), 2);
	}
	var /= n;

	for (int i = 0; i < n; i++) {
		arr[i] = (arr[i] - avg) / (sqrt(var));
	}

	for (int i = 0; i < n; i++) {
		printf("%f", arr[i]);
		if (i != n - 1) {
			printf("\n");
		}
	}

	return 0;
}
